From: Keir Fraser Date: Fri, 26 Mar 2010 08:43:36 +0000 (+0000) Subject: xl: field 'type' not set in dm_info X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12474 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=682d29d954ed1e35bdc37833ccbddac5ec5a14d5;p=xen.git xl: field 'type' not set in dm_info This fixes a bug that makes xl start qemu without the FV/PV specific options. From: Jean-Edouard LEJOSNE Signed-off-by: Keir Fraser Acked-by: Vincent Hanquez --- diff --git a/tools/libxl/xl.c b/tools/libxl/xl.c index 2e23da3307..8518e8fd0e 100644 --- a/tools/libxl/xl.c +++ b/tools/libxl/xl.c @@ -661,6 +661,8 @@ skip_pci: dm_info->usbdevice = strdup(buf); } + dm_info->type = c_info->hvm ? XENFV : XENPV; + xlu_cfg_destroy(config); }